//
//  LYCommentModel.h
//  LYLiveApp
//
//  Created by QD on 16/8/29.
//  Copyright © 2016年 览益信息科技. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface LYCommentUser : NSObject
@property (nonatomic,strong) NSString *avatar;
@property (nonatomic,strong) NSString *nickname;
@property (nonatomic,strong) NSNumber *role;
@property (nonatomic,strong) NSNumber *uid;

@end

@interface LYCommentToChat : NSObject
@property (nonatomic,strong) NSNumber *chatId;
@property (nonatomic,strong) NSString *content;
@property (nonatomic,strong) NSString *ctime;
@property (nonatomic,strong) LYCommentUser *user;

@end




@interface LYCommentShow : NSObject
@property (nonatomic,strong) NSNumber *chatId;
@property (nonatomic,strong) NSString *content;
@property (nonatomic,strong) NSString *ctime;
@property (nonatomic,strong) NSArray *shares;
@property (nonatomic,strong) LYCommentUser *user;
@property (nonatomic,strong) LYCommentToChat *toChat;

@end


@interface LYCommentModel : NSObject
@property (nonatomic,strong) NSNumber *feedId;
@property (nonatomic,strong) NSNumber *oid;
@property (nonatomic,strong) LYCommentShow *show;
@property (nonatomic,strong) NSNumber *type;
@property (nonatomic,strong) NSString *zmtime;
@property (nonatomic,assign) BOOL isHistory;
@property (nonatomic,assign) BOOL isShowTime;
+ (CGFloat)returnHeightWithModel:(LYCommentModel *)model;
+ (CGFloat)returnHeightFullCommentNewWithModel:(LYCommentModel *)commentModel;

@end
